package com.itheima.mydemo.test3;

public class Dog extends Animals {
    @Override
    //抽象方法重定义
    public void eat() {
        System.out.println("狗吃骨头");
    }
}
